<?php
namespace app\common\model;

use think\Model;

class Gamearea extends Model
{
    protected $connection = 'db_config_aiqi';
    public static function getInfo($gid,$sid)
	{
		if(!is_numeric($gid))	return 0;
		if(!is_numeric($sid))	return 0;
		$data=Gamearea::where([['gid','=',$gid],['sid','=',$sid]])->find();
		return $data;
	}
}